<?php 
/**
 * apiClient demo
 */
class Resource_Demo extends Yjnic_ApiClient{
	
	public function __construct(){
		$configs = DI()->config->get('api.demo');
		parent::__construct($configs);
	}

	public function getUser(){
		$params = array(
			'user_id' => 2,
		);
		return $this->get('Demo.getUser', $params);
	}
}
 ?>